home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 January / Macworld (1998-01).dmg / Serious Demos / Visual MacStandardBasic Demo / Visual MSB Reference / Visual MSB Reference.rsrc / PICT_3.png < prev    next >
Portable Network Graphic  |  1997-10-23  |  76KB  |  816x1056  |  16-bit (983 colors)
Labels: book | crt screen | monitor | reckoner | sky
OCR: Execution Control The commands in this section control the flow of execution of your program. Command Summary: Goto Jabel or line# Gosub Jabel or line# Return For val startValue TO endValue [STEP stepValue] Next var logicalExpression Then [command] Es Endi Do While logicalE xpression Do Until logicalExpression Loop Select expression value Defau Endcase Eno ExitFunction returnValue Exitr returnValue Goto Jabel Goto line# This command will do an unconditional jump which will branch program execution another location The label or line# location must be within the same procedure Goto NextSpot NextSpot: This is label now equals because the GOTO above skipped over the statement Goto line on the next line Both and still equal because of the jump O the line numbered Gosub label Gosub line# Gota De ...